package com.app.mapper.supermarket;

import com.app.model.supermarket.SkillSonModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description:
 * @Date: 2022/11/13 17:04
 */
@Mapper
public interface SkillSonMapper extends BaseMapper<SkillSonModel> {

   List<SkillSonModel> getSkillByMid(int mid);//根据mid查询这个人的技能标签

   List<SkillSonModel> getSkillsBySid(int sid);//根据mid查询这个人的技能标签

   int skillInsert(SkillSonModel skillSon);//新增
   int skillUpdate(SkillSonModel skillSon);//修改

   SkillSonModel getSkillSon(int id);

}
